<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <!-- <link rel="shortcut icon" href="favicon.ico"> -->
     <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <!-- <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet"> -->
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;" class="x_sorll">
    <!-- 标题 -->
    <div class="page-heade clearfix">
      <h1 class="clearfix"><a class="col-md-6 title_color H_right" id="Ap1" style="display: inline-block;font-size: 16px;color:#333;" onclick="tiaozhuan(1)">所属销售物料使用申请</a> <a class="col-md-6 title_color H_active"  id="Ap2" style="font-size: 16px;display: inline-block;" onclick="tiaozhuan(2)">所属销售物料使用明细查询</a></h1>
    </div>
    <!-- 标题 -->
    <div>
    <form action="" class="form-inline">
        <table class="row-margin-top tab-content table-bordered table" border="1">
          <tr>
            <td style="min-width: 160px;width: 160px"><label for="" class="form-label">对应销售物料使用申请单编号：</label></td>
            <td><input type="text" class="form-control" name=""></td>
			 <td style="min-width: 120px;width: 120px"><label for="" class="form-label">物料名称：</label></td>
            <td><input type="text" class="form-control" name=""></td>
              <td style="min-width: 120px;width: 120px"><label for="" class="form-label">申请状态：</label></td>
            <td>
              <select name="" id="" class="form-control">
                   <option value="0">请选择</option>
                  <option value="1">草稿</option>
                  <option value="2">业务员审批</option>
                  <option value="3">已打回</option>
                  <option value="4">区域领导审批</option>
                  <option value="5">拆分人审批</option>
                  <option value="6">集团领导审批</option>
                  <option value="7">抄送</option>
                  <option value="8">已归档</option>
                  <option value="9">已作废</option>
                  <option value="10">已否决</option>
              </select>
            </td>
		</tr>
		 <tr>
            <td style="min-width: 160px;width: 160px"><label for="" class="form-label">使用对象：</label></td>
            <td><input type="text" class="form-control" name=""></td>
           <td style="min-width: 120px;width: 120px"><label for="" class="form-label">费用申请日期：</label></td>
            <td>
             <div class="form-group">
            <input type="text" id="start" class="form-control layer-date " style="width:110px;height: 26px;display: inline-block;" name="">
           </div>
            <div class="form-group">
                到
            </div>
           <div class="form-group">
            <input type="text" class="form-control layer-date" style="width:110px;height: 26px;display: inline-block;" id="end" name="">
           </div>
            </td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label">期望收货日期：</label></td>
            <td>
				  <div class="form-group">
            <input type="text" id="start1" class="form-control layer-date " style="width:110px;height: 26px;display: inline-block;" name="">
           </div>
            <div class="form-group">
                到
            </div>
           <div class="form-group">
            <input type="text" class="form-control layer-date" style="width:110px;height: 26px;display: inline-block;" id="end1" name="">
           </div>
            </td>
		</tr>
          <tr>
			 <td colspan="6" class="text-center">
           <button class="btn btn-info query" >查询</button>
           <button class="btn btn-info emptyIf" type="button">清空</button>
           <button class="btn btn-info lendExcel" type="button">导出Excel</button>
            </td>
          </tr>
      </table>
    
      <table class="table row-margin-top table-bordered text-center bud_hei">
          <tr class="info">
            <th class="text-center">序号</th>
            <th class="text-center">对应销售物料使用申请单编号</th>
            <th class="text-center">使用对象</th>
            <th class="text-center">申请状态</th>
            <th class="text-center">物料名称</th>
            <th class="text-center">物料编号</th>
            <th class="text-center">费用科目</th>
            <th class="text-center">使用目的</th>
            <th class="text-center">类别</th>
            <th class="text-center">费用申请时间</th>
            <th class="text-center">期望收货日期</th>
            <th class="text-center">单位</th>
            <th class="text-center">单价(元)</th>
            <th class="text-center">数量</th>
            <th class="text-center">总金额(元)</th>
            <th class="text-center">体积(立方米)</th>
            <th class="text-center">重量(KG)</th>
          </tr>
       <tbody>
			<tr>
				<td>1</td>
				<td><a href="javascript:;">201604260006</a></td>
				<td class="font-bold">广州市汇佳嘉贸易有限公司(经销商)<span class="glyphicon glyphicon-ok duigou" title="已签订" aria-hidden="true" ></span></td>
				<td>已归档</td>
				<td>宣传海报</td>
				<td><a href="sell_wl_applydetal.html" class="J_menuItem" title="销售物料详情">WSWL00002</a></td>
				<td>ke</td>
				<td>销售物料</td>
				<td>2017-03-24</td>
				<td>2017-04-13</td>
				<td>套</td>
				<td class="ObjectNum">12</td>
				<td class="ObjectNum">100</td>
				<td class="ObjectNum">1200</td>
				<td class="ObjectNum">0</td>
				<td class="ObjectNum">0</td>
			</tr>
       </tbody>
      </table>
         <h5 class="text-center">
            总共有1条记录，第1/4页，当前页：<input id="page" type="text" style="width: 70px;" value="" class="form-control" /><span id="gopage">GO</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp; 每页显示
            <select id="pagesize" style="width: 70px" class="form-control">
            <option value='5'>5</option>
            <option value='10'>10</option>
          </select>条
        </h5>

</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
    <script src="__STATIC__/layout/js/common.js"></script>
    <script src="__STATIC__/layout/js/contabs_sub.js"></script>
    <script>
      function tiaozhuan(num){
        var a = document.getElementById('Ap'+num);
          a.href="toXiaoshou_wlsq"+num+".html";
      }
      
        //日期范围限制
        var start = {
            elem: '#start',
            format: 'YYYY/MM/DD',
            min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end.min = datas; //开始日选好后，重置结束日的最小日期
                end.start = datas //将结束日的初始值设定为开始日
            }
        };
        var end = {
            elem: '#end',
            format: 'YYYY/MM/DD',
            min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
         var start1 = {
            elem: '#start1',
            format: 'YYYY/MM/DD',
            min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end1.min = datas; //开始日选好后，重置结束日的最小日期
                end1.start1 = datas //将结束日的初始值设定为开始日
            }
        };
        var end1 = {
            elem: '#end1',
            format: 'YYYY/MM/DD',
            min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start1.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
        laydate(start);
        laydate(end);
        laydate(start1);
        laydate(end1);
        $(document).ready(function(){
          var $ObjectNum =$(".ObjectNum");
             toNum($ObjectNum);

           $(".J_menuItem").click(menuItem)
        })
    </script>
</body>

</html>
